package com.xd.clap.commons;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class SystemConstant {
    /**
     *电话验证码
     * @author guanxiangfeng
     */
    public final static String PHONE_VERIFY_CODE="phoneVerifyCode::";
    /**
     *次数 电话验证码
     * @author guanxiangfeng
     */
    public final static String PHONE_NUM_CODE="phoneNumCode::";

    /**
     * 数字 0~11
     */
    public final static int NUM_NEGATIVE_ONE = -1;
    public final static int NUM_ZERO = 0;
    public final static int NUM_ONE = 1;
    public final static int NUM_TWO = 2;
    public final static int NUM_THREE = 3;
    public final static int NUM_FOUR = 4;
    public final static int NUM_FIVE = 5;
    public final static int NUM_SIX = 6;
    public final static int NUM_SEVEN = 7;
    public final static int NUM_EIGHT = 8;
    public final static int NUM_NINE = 9;
    public final static int NUM_TEN = 10;
    public final static int NUM_ELEVEN = 11;
    public final static int NUM_15 = 15;
    public final static int NUM_16 = 16;
    public final static int NUM_19 = 19;
    public final static int NUM_TWENTY = 20;
    public final static int NUM_30 = 30;
    public final static int NUM_32 = 32;
    public final static int NUM_50 = 50;
    public final static int NUM_60 = 60;
    public final static int NUM_64 = 64;
    public final static int NUM_90 = 90;
    public final static int NUM_100 = 100;
    public final static int NUM_200 = 200;
    public final static int NUM_1024 = 1024;
    public final static int NUM_5000 = 5000;
    public final static int NUM_24_time =864000; //60*60*60*24 一天

    // 小程序访问接口
    public final static List<String> APP_API = new ArrayList<>(Arrays.asList(
            "/address/getSecondAddressListByFid", "/address/getSecondAddressList", "/address/getAllAddressList","/address/searchAddressList","/address/getMapIcon","/address/getAdviseMapIcon","/address/getAddressInfo","/address/getFirstAddressList",
            "/advise/getAdvisePage","/advise/getUrgeAdvise","/advise/urgeAdvise","/advise/deleteAdvise",
            "/feedback/saveFeedback",
            "/admin/loginSendSms",
            "/order/getOrders","/order/updateState",
            "/rate/getRatePage","/update/checkUpdate",
            "/task/addTask","/task/getTask","/task/getAppTask","/task/updateTask","/task/getTaskInfo",
            "/advise/uploadAdvise","/advise/rejectedAdvise","/advise/sentAddress",
            "/results/getResultsByAdviseId","/results/uploadResults","/results/rejectedResults","/results/passResults",
            "/classify/getClassifyList","/product/getProductPage","/order/createOrder",
            "/user/getUser"));
    // 后台系统访问接口
    public final static List<String> ADMIN_API = new ArrayList<>(Arrays.asList(
            "/address/updateAddress", "/address/delAddress", "/address/getAddressPage","/address/delFirstAddress","/address/updateFirstAddress","/address/getFirstAddressList","/address/getAddressList",
            "/admin/updateAdmin","/admin/delAdmin","/admin/getAdminPage",
            "/advise/updateRate","/advise/urgeAdvise","/advise/sentAddress","/advise/rejectedAdvise","/results/rejectedResults","/results/passResults","/results/getResultsByAdviseId",
            "/feedback/getFeedbackList","/feedback/deleteFeedback",
            "/upload/uploadImageBase64",
            "/advise/getStateCount","/advise/getAdviseList","/advise/getMapRankData","/advise/getLatelyData","/advise/getAdvisePage",
            "/address/updateAddress","/address/delAddress","/address/getSecondAddressListByFid","/task/getTask","/task/addTask","/task/getTaskInfo","/task/deleteTask","/address/delFirstAddress","/address/updateFirstAddress","/address/getFirstAddressList","/address/getAddressList",
            "/classify/getClassifyList","/classify/updateClassify","/classify/deleteClassify","/product/getProductPage","/product/updateProduct","/product/updateShow","/product/deleteProduct","/order/getOrdersPage","/order/updateState",
            "/grid/updateGrid","/grid/deleteGrid","/grid/getGrid","/grid/getGridAll","/address/delFirstAddress","/address/updateFirstAddress","/grid/addGrid","/address/getAddressList"));

    // 白名单ip列表
    public final static List<String> IP_WHITE_LIST = new ArrayList<>(Arrays.asList("218.23.170.215","114.55.243.160","117.170.133.192","113.195.208.170"));//113.195.208.170

}